export function ToolModule() {
    return function (target: any) {
        let temp = target.prototype.init;
        target.prototype.init = function () {
            for (let func of target.prototype.constructor['__icon_init__']) {
                func.apply(this, [this]);
            }
            temp.apply(this);
        }
    }
}